home *** CD-ROM | disk | FTP | other *** search
- Path: tdl.com!tuna
- From: tuna@tdl.com (Chris Cochems)
- Newsgroups: comp.sys.cbm
- Subject: Re: A Hacker's Question..
- Date: 2 Jan 1996 08:46:21 GMT
- Organization: The Diamond Lane
- Message-ID: <4carct$aum@news.tdl.com>
- References: <36@ppse.win-uk.net><9601010223.AA0006n@cosine.demon.co.uk> <47@ppse.win-uk.net>
- NNTP-Posting-Host: tdl.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Here's what you do to set up a c64 for hacking. Get a multi-cart adapter
- wit reset button. Put a Fast Load in one slot. This fast load is what
- you will reset into. You load the program, and when you want to do the
- reset, be sure the fast load and no other carts are switched in.
-
- Here's why you need the fastload (or some other cart that returns you to
- BASIC and switches itself out)
-
- Many programs are "reset protected". This means that not even a hardware
- reset will escape the program! THis is done by poking the magic 4 byte
- code into $8004-7. THis fools the computer into thinking there is a
- cartridge in. If there was no cartridge in, the program would jump to
- the address pointed to by $8000-1. When you have a fast load cart
- in, it will see the 4 bytes upon pressing reset. But the hardware reset
- switches in the Fast Load's ROMs. The Fast load ROM at $8000 overrides
- the programs' RAM pointer! Fastload then makes it's changes, and
- switches itself back out, leaving you with your reset-protected program
- in memory!
-
- The older c64s can be reset at 3 places. The serial port reset line, the
- cartridge reset line, and the User Port reset line. The serial reset
- line no longer works for this purpose on the newer c64s.
-
- I installed a reset switch into my commodore automodem with the help of
- some wires, and a ddrill.. :)
-
- Note: using the User Port reset line does NOT cause the serial bus to be
- reset on some c64s..
-
- Chuck Cochems
-